package com.yunhe.policyfulfillment.policyful.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: SatisfactionStatistics
 * @Description:
 * @author: GongDaCheng
 * @Date: 9:46 2021/10/9
 */
@Data
@ApiModel("诉求满意度统计对象")
public class SatisfactionStatistics implements Serializable {

    private static final long serialVersionUID = -1389363136804372530L;

    @ApiModelProperty("诉求id")
    private long appealId;

    @ApiModelProperty("公司名/个人名")
    private String appealPersonName;

    @ApiModelProperty("主管部门")
    private Long handleOrg;

    @ApiModelProperty("主管部门Title")
    private String handleOrgTitle;

    @ApiModelProperty("满意度评价 01：满意 02：比较满意 03：不满意")
    private String satisfactionEvaluation;

    @ApiModelProperty("满意度评价Title")
    private String satisfactionEvaluationTitle;

    @ApiModelProperty("详细评价")
    private String detailedEvaluation;

    @ApiModelProperty("生成时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
